package com.taobao.dao.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.taobao.dao.CommonDao;
import com.taobao.dao.RoomTaskDao;
import com.taobao.pojo.Config;
import com.taobao.pojo.HttpContext;
import com.taobao.pojo.Task;

public class RoomTaskDaoImpl extends CommonDao implements RoomTaskDao {

    @Override
    public List<Task> getRoomTasks() throws Exception {
        Map<String, String> params = new HashMap<String, String>();
        params.put("s", "0");
        params.put("v", "0");
        params.put("n", "5");
        params.put("sType", "t");

        this.postRequest(Config.url + "room/Default.aspx", null, params);
        
        return null;
    }

    @Override
    public Object process(HttpContext context) throws Exception {
//        System.out.println(context.getHtml());
        return null;
    }

}
